<template>
  <el-menu  class="el-menu-demo" align="left"
    background-color="#545c64"
            text-color="#fff"
            active-text-color="#409eff"
            router
            :unique-opened="true"
  >
    <el-submenu index="1">
      <template slot="title">
        <span>销售机会管理</span>
      </template>
      <el-menu-item index="/saleChance/SaleChanceList">销售机会列表</el-menu-item>
      <el-menu-item index="/saleChance/AddSaleChance">添加销售机会</el-menu-item>
      <el-menu-item index="/saleChance/MySaleChanceList">我的销售</el-menu-item>
    </el-submenu>
    <el-submenu index="2" >
      <template slot="title">
        <span>会员管理</span>
      </template>
      <el-menu-item index="/member/MemberList">会员列表</el-menu-item>
      <el-menu-item index="/member/AddMember">添加会员</el-menu-item>
    </el-submenu>
    <el-submenu index="3" >
      <template slot="title">
        <span>设备管理</span>
      </template>
      <el-menu-item index="/equipment/EquipmentList">设备列表</el-menu-item>
      <el-menu-item index="/equipment/AddEquipment">添加设备</el-menu-item>
    </el-submenu>
    <el-submenu index="4">
      <template slot="title">
        <span>员工管理</span>
      </template>
      <el-menu-item index="/emp/EmpList">员工列表</el-menu-item>
      <el-menu-item index="/emp/AddEmp">添加员工</el-menu-item>
    </el-submenu>
    <el-submenu index="5">
      <template slot="title">
        <span>统计信息</span>
      </template>
      <el-menu-item index="/member/MemberTjList">会员组成统计</el-menu-item>
    </el-submenu>

  </el-menu>
</template>

<script>
export default {
  name: "Aside",
  data(){
    return {
      role:sessionStorage.getItem("role")
    }
  }
}
</script>

<style scoped>

</style>
